all: libicd_network_3g_ipv6.so

libicd_network_3g_ipv6.o: libicd_network_3g_ipv6.c
	gcc -fpic -fPIC `pkg-config --cflags glib-2.0 gconf-2.0 dbus-1` -I /usr/include/icd/ -o $@ -c $<

libicd_network_3g_ipv6.so: libicd_network_3g_ipv6.o
	gcc -shared -Wl,-soname,$@ -o $@ $<

distclean:
	rm -f *~ *.o *.so

package:
	dpkg-buildpackage -rfakeroot -b
